<?php

	//$output = json_decode($_POST['data'], true);
	$output = $_POST["data"];
	//echo $output;
	$result = file_put_contents('C:/Users/Deepako/Downloads/avatar.svg', $output);
	
	//echo $result;
	$ex = exec("java -jar C:/xampp/htdocs/code/batik/batik-1.7-jre13/batik-1.7/batik-rasterizer.jar C:/Users/Deepako/Downloads/avatar.svg");
	echo $ex;
	
?>	